package com.nsu.cl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nsu.cl.pojo.LoginForm;

/**
* @author 52618
* @description 针对表【admin(管理员表)】的数据库操作Service
* @createDate 2023-02-16 14:21:02
*/
public interface AdminService extends IService<Admin> {

    Admin login(LoginForm loginForm);

    Admin getAdminById(Long userId);

    IPage<Admin> getAdminByOpr(Page<Admin> pageParam, Admin admin);
}
